package cn.neusoft.xmlaop;

import org.aspectj.lang.annotation.*;
import org.springframework.stereotype.Component;

public class Aop {
	public void pointCut() {

	}
	public void before() {
		System.out.println("前置通知");
	}
	public void after() {
		System.out.println("后置通知");
	}

    public void afterThrowing(){
        System.out.println("异常后通知");
    }

    public void afterReturning(){
        System.out.println("返回后通知");
    }

}

